<?php
/**
 * LTV 统计
 */

return [
    //ltv 统计项
    'ltv_item' => [1, 3, 5, 7, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180],

    //首页报表类型
    'report_type' => [
        1 => '在线',
        2 => '活跃',
        3 => '新增用户',
        4 => '新用户留存',
        5 => '流水',
        6 => '充值',
        7 => '充值人数'
    ],

    //报表类型查询字段
    'report_type_field' => [
        1 => 'drp_online_user',
        2 => 'drp_active_user',
        3 => 'drp_new_user',
        5 => 'drp_turnover',
        6 => 'drp_recharge',
        7 => 'drp_recharge_user'
    ],

    //报表返回数据保留位数
    'report_type_number' => [
        1 => 0,
        2 => 0,
        3 => 0,
        5 => 3,
        6 => 3,
        7 => 0
    ],

    //营收类型
    'revenue_type' => [
        1 => '营收总额',
        2 => '抽水盈利',
        3 => '机器人盈利',
        4 => '内部账户盈利',
        5 => '系统盈利',
        6 => '增值服务'
    ],

    //营收查询字段
    'revenue_type_field' => [
        1 => 'drr_total_revenue',
        2 => 'drr_extract_revenue',
        3 => 'drr_robot_revenue',
        4 => 'drr_internal_user_revenue',
        5 => 'drr_system_revenue',
        6 => 'drr_vas_revenue'
    ],

    //佣金结算类型
    'settle_commission_type' => [
        'pre'    => 0,
        'finish' => 1
    ]
];
